window.onload = function () {
    document.getElementById("administrative").className = "add-nav-active";
    document.getElementById("my_finished").className = "add_class";
    document.getElementById("gebruikersrol_ul").style.display = "inline-block";
    document.getElementById("jiantou1").className = "iconfont icon-jiantou-xia";
    document.getElementById("organizational_management_ul").style.display = "none";
};



function click_ul() {
    if (document.getElementById("jiantou").className === "iconfont icon-jiantou-shang"){
        document.getElementById("jiantou").className = "iconfont icon-jiantou-xia";
        document.getElementById("organizational_management_ul").style.display = "inline-block";
    }else {
        document.getElementById("jiantou").className = "iconfont icon-jiantou-shang";
        document.getElementById("organizational_management_ul").style.display = "none";
    }
}

function click_ul1() {
    if (document.getElementById("jiantou1").className === "iconfont icon-jiantou-shang"){
        document.getElementById("jiantou1").className = "iconfont icon-jiantou-xia";
        document.getElementById("gebruikersrol_ul").style.display = "inline-block";
    }else {
        document.getElementById("jiantou1").className = "iconfont icon-jiantou-shang";
        document.getElementById("gebruikersrol_ul").style.display = "none";
    }
}

function click_ul2() {
    if (document.getElementById("jiantou2").className === "iconfont icon-jiantou-shang"){
        document.getElementById("jiantou2").className = "iconfont icon-jiantou-xia";
        document.getElementById("meeting_management_ul").style.display = "inline-block";
    }else {
        document.getElementById("jiantou2").className = "iconfont icon-jiantou-shang";
        document.getElementById("meeting_management_ul").style.display = "none";
    }
}


// 控制表单、流程导航
function Control_navigation(ele_id) {
    if (ele_id === "create-menu") {
        document.getElementById(ele_id).className = "basic basic-tabs";
        document.getElementById("flow-status").className = "basic";
        document.getElementById("menu_from").style.display = "inline-block";
        document.getElementById("process_status").style.display = "none";
    }else if (ele_id === "flow-status"){
        document.getElementById(ele_id).className = "basic basic-tabs";
        document.getElementById("create-menu").className = "basic";
        document.getElementById("process_status").style.display = "inline-block";
        document.getElementById("menu_from").style.display = "none";
    }
}
